package com.eric.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class PurchaseRequisitionDTO {
    private Long id;
    @NotBlank(message = "申购单名称不能为空")
    private String requisitionName;
    @NotBlank(message = "申购单编号不能为空")
    private String requisitionNumber;
    @NotBlank(message = "申购单日期不能为空")
    private String requisitionDate;
    @NotBlank(message = "申购人不能为空")
    private String applicant;
    @NotBlank(message = "专业类别不能为空")
    private String professionalCategory;
    @NotBlank(message = "项目名称不能为空")
    private String projectName;

    @NotBlank(message = "申购数量不能为零")
    private Integer number;

    private String description;

    private Integer tableLock;


}
